<template>
  
    <div>
      <div class="class"> 引导页</div>
      <el-tag v-permission="['admin']">测试admin 按钮权限</el-tag>
      <el-tag v-permission="['editor']">测试其余按钮权限</el-tag>
  </div>

</template>

<script>
import permission from '@/directives/permission/index.js' // 权限判断指令


export default {
  directives: { permission },

  mounted() {
    console.log("匹配结果:", window.location,this.$router.match(window.location));
  }
}
</script>

<style  scoped>


</style>
